{extend name="layout/layout" /}

{block name="content"}
<blockquote class="layui-elem-quote quoteBox">
    <form class="layui-form h between">
        <div class="layui-inline searchBox">
            <div class="layui-input-inline">
                <input type="text" class="layui-input name" name="name" placeholder="请输入员工名" />
            </div>
            <input type="text" class="layui-input" value="阻止回车键提交" style="display: none;">
            <a class="layui-btn search_btn" data-type="reload">搜索</a>
            <button type="reset" class="layui-btn layui-btn-danger reset_btn"><i class="layui-icon">&#xe669;</i></button>
            <a href="javascript:;" class="layui-btn layui-btn-normal add_btn"><i class="layui-icon"></i> 新增</a>
        </div>
        <div class="layui-inline">
            <a href="{:url('admin/store/index')}" class="layui-btn layui-bg-cyan">门店列表</a>
        </div>
    </form>
</blockquote>

<table id="dataTable" lay-filter="dataTable"></table>

<input type="hidden" class="datalist_url" value="{:url('admin/storestaff/index', ['store_id' => $store_id])}">
<input type="hidden" class="add_url" value="{:url('admin/storestaff/add', ['store_id' => $store_id])}">
<input type="hidden" class="edit_url" value="{:url('admin/storestaff/edit', ['store_id' => $store_id])}">
<input type="hidden" class="delete_url" value="{:url('admin/storestaff/delete')}">
{/block}

{block name="pagescript"}
<script src="__STATIC__/admin/pages/js/storestaff.js" type="text/javascript"></script>
{/block}